package com.uwlaser.service.mapper;

import com.uwlaser.base.CommonMapper;
import com.uwlaser.domain.AntonConfigDevice;
import org.springframework.stereotype.Repository;
import java.util.List;

/**
 * @author yangwei
 * @create 2022/12/2
 */
@Repository
public interface AntonConfigDeviceMapper extends CommonMapper<AntonConfigDevice> {

    /**
     * 根据安东配置编码查询对应的设备
     * @param antonCode  安东编码
     * @return
     */
    List<AntonConfigDevice> getAntonDeviceByAntonCode(String antonCode);

    List<AntonConfigDevice> getAntonDeviceByDeviceCode(String deviceCode);
    /**
     * 查询所有设备编号
     */
    List<String> getAllDeviceCode();

    /**
     * 根据设备编号查询对应安东配置编号
     */
    List<String> getAntonCodeByDevice(String deviceCode);

}
